package fun.hijklmn.magic.resource.server.config;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Set;

/**
 * @Description
 * @Author fs
 * @Date 2021/5/17 15:06
 * @Version 0.0.1-SNAPSHOT
 **/
@Component
@Data
@NoArgsConstructor
@ConfigurationProperties(prefix = "resource.properties")
public class ResourceProperties {

    private String topic;

    private String rootUrl;

    private String localDir;

    private String reqPrefix;

    private Set<String> imageCondition;

    private Set<String> soundCondition;

    private Set<String> documentCondition;

    private Set<String> videoCondition;

}
